package com.sz.lk.wingsystem.bean;

/**
 * author : liuke
 * e-mail : 1012459343@qq.com
 * date   : 2020/12/6 18:05
 * desc   :
 * version: 1.0
 */
public class TaskResult {

    /**
     * isSucceed : true
     * errorCode : 0
     * opTime : 2020-12-06 09:58:05
     * remark : 无匹配任务
     * result : {"data":{"id":"xcghjk1234567890","code":"JH00000001","weight":32.05,"volume":0.322,"length":0.312,"width":1.234,"height":0.123,"estimateChannel":"NORMAL-CH:99","estimateAddress":"安徽省合肥市"}}
     */

    private boolean isSucceed;
    private int errorCode;
    private String opTime;
    private String remark;
    private ResultBean result;

    public boolean isIsSucceed() {
        return isSucceed;
    }

    public void setIsSucceed(boolean isSucceed) {
        this.isSucceed = isSucceed;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getOpTime() {
        return opTime;
    }

    public void setOpTime(String opTime) {
        this.opTime = opTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * data : {"id":"xcghjk1234567890","code":"JH00000001","weight":32.05,"volume":0.322,"length":0.312,"width":1.234,"height":0.123,"estimateChannel":"NORMAL-CH:99","estimateAddress":"安徽省合肥市"}
         */

        private DataBean data;

        public DataBean getData() {
            return data;
        }

        public void setData(DataBean data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : xcghjk1234567890
             * code : JH00000001
             * weight : 32.05
             * volume : 0.322
             * length : 0.312
             * width : 1.234
             * height : 0.123
             * estimateChannel : NORMAL-CH:99
             * estimateAddress : 安徽省合肥市
             */

            private String id;
            private String code;
            private double weight;
            private double volume;
            private double length;
            private double width;
            private double height;
            private String estimateChannel;
            private String estimateAddress;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public double getWeight() {
                return weight;
            }

            public void setWeight(double weight) {
                this.weight = weight;
            }

            public double getVolume() {
                return volume;
            }

            public void setVolume(double volume) {
                this.volume = volume;
            }

            public double getLength() {
                return length;
            }

            public void setLength(double length) {
                this.length = length;
            }

            public double getWidth() {
                return width;
            }

            public void setWidth(double width) {
                this.width = width;
            }

            public double getHeight() {
                return height;
            }

            public void setHeight(double height) {
                this.height = height;
            }

            public String getEstimateChannel() {
                return estimateChannel;
            }

            public void setEstimateChannel(String estimateChannel) {
                this.estimateChannel = estimateChannel;
            }

            public String getEstimateAddress() {
                return estimateAddress;
            }

            public void setEstimateAddress(String estimateAddress) {
                this.estimateAddress = estimateAddress;
            }
        }
    }
}